package cn.edu.sjtu.dfa;

public class Jump extends Instruction {
	private Label label;
	
	public Jump(Label l) {
		label = l;
	}
	
	public Label getLabel() {
		return label;
	}

	@Override
	public String toString() {
		return "goto " + label.toString();
	}
}
